package com.szamc.fintech.nacosconsumer;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;


@FeignClient(name="api-service")
public interface UserFeignClient {
    @GetMapping("/GetUserInfo")//远程服务的路径，这里就要和生产者工程中的UserController中的getUser相对应了
    public String GetUserInfo();
}
